<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class Allot extends Model
{
    use SoftDeletes;

    protected $table = 'allots';


    public function getProfit($fee = 0)
    {
        return $fee * ($this->ratio) / 100;
    }


}
